package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.renren.common.validator.group.AddGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * ${comments}
 *
 * @author lmzhu
 * @email zhulimingchina@gmail.com
 * @date 2020-08-13 14:06:10
 */
@Data
@TableName("BIM_USER_TEST")
@JsonIgnoreProperties(ignoreUnknown = true)
public class BimUserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * $column.comments
	 */
	@TableId(value = "ID",type = IdType.UUID)
	@JsonProperty("uid")
	private String id;
	/**
	 * $column.comments
	 */
	@NotBlank(message="登录名不能为空", groups = AddGroup.class)
	private String username;
	/**
	 * $column.comments
	 */
	@NotBlank(message="身份证号不能为空", groups = AddGroup.class)
	private String idcard;
	/**
	 * $column.comments
	 */
	private String email;
	/**
	 * $column.comments
	 */
	@NotBlank(message="手机号不能为空", groups = AddGroup.class)
	private String phone;
	/**
	 * $column.comments
	 */
	private String fullname;

	/**
	 * $column.comments
	 */
	private String islocked;

}
